package com.saile.service;

import com.saile.domain.Advert;
import com.saile.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-4-24.
 * 广告服务
 */
public interface AdvertService {

    void modifyAdvert(Advert advert) throws MyRunTimeExcption;
    void deleteAdvert(Long advertId) throws MyRunTimeExcption;

    List<Advert> getAdvertList(Map<String, String> map) throws MyRunTimeExcption;

    Advert getAdvert(Map<String, String> map) throws MyRunTimeExcption;
}
